Micron Document
NexusPi Git Node

Commit dc1eaae90e8dca19823b68a9137121b0b133b256


Parents : 21bce0f
Author : James L <jrl290@gmail.com>
Date : 2026-06-01T21:51:41-04:00

Align FW release to 1.0.36 and enforce tag/version check

Changes

2 files changed, 16 insertions(+), 1 deletions(-)

M Config.h +1 -1
M Makefile +15

Diff

diff --git a/Config.h b/Config.h
index fc76df1..337e2ed 100755
--- a/Config.h
+++ b/Config.h
@@ -21,7 +21,7 @@
#define MAJ_VERS 0x01
#define MIN_VERS 0x55
- #define FW_RELEASE_TAG "1.0.34"
+ #define FW_RELEASE_TAG "1.0.36"
#define MODE_HOST 0x11
#define MODE_TNC 0x12

diff --git a/Makefile b/Makefile
index d54fdcd..2a4f115 100755
--- a/Makefile
+++ b/Makefile
@@ -285,6 +285,19 @@ release-all: console-site spiffs-image release-tbeam release-tbeam_sx1262 releas
# Build all PlatformIO environments and package them into a single release archive.
# The archive (rtnode_firmware.zip) is the primary distribution artefact consumed
# by flash.py. Individual binaries are stored flat inside the zip.
+check-release-version:
+ @if [ -z "$(RELEASE_TAG)" ]; then \
+ echo "ERROR: RELEASE_TAG is required (example: make release-pio-tagged RELEASE_TAG=v1.0.36)"; \
+ exit 2; \
+ fi
+ @fw_tag=$$(grep -E '^[[:space:]]*#define[[:space:]]+FW_RELEASE_TAG' Config.h | sed -E 's/.*\"([^\"]+)\".*/\1/'); \
+ release_no_v=$${RELEASE_TAG#v}; \
+ if [ "$$fw_tag" != "$$release_no_v" ]; then \
+ echo "ERROR: FW_RELEASE_TAG ($$fw_tag) does not match RELEASE_TAG ($(RELEASE_TAG))"; \
+ exit 1; \
+ fi; \
+ echo "Version check passed: FW_RELEASE_TAG=$$fw_tag RELEASE_TAG=$(RELEASE_TAG)"
+
release-pio:
pio run -e rtnode_heltec_v4 -e rtnode_heltec_v3
python3 flash.py --board v4 --merge-only --offline
@@ -305,6 +318,8 @@ zf.close(); \
print('Created rtnode_firmware.zip with', len(variants), 'variants'); \
"
+release-pio-tagged: check-release-version release-pio
+
release-hashes:
python ./release_hashes.py > ./Release/release.json

Served by rngit 1.5.0 - Generated in 0.02s